import time

def f1():
    start = time.time()
    for i in range(1000000):
        print("xxxx")
    end = time.time()
    print(end-start)

f1()